package com.xzst.jacksonxml.model.result;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:liukexin
 * @DATE:2019-06-24 14:21
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "JDCX")
public class Jdcx implements Serializable {

    private static final long serialVersionUID = -2315009974473446847L;

    @JacksonXmlProperty(localName = "requestID")
    private String requestId;

    @JacksonXmlProperty(localName = "recordCount")
    private String recordCount;

    @JacksonXmlElementWrapper(localName = "datalist")
    @JacksonXmlProperty(localName = "data")
    private List<JzData> datalist;
}
